package com.yuyou.fn.educational.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 班级老师
 *
 */
@TableName(value = "class_teacher")
public class ClassTeacher implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ClassTeacher> createExample(){
		return new Example<ClassTeacher>(ClassTeacher.class);
	}

	/**  */
	@TableId(value = "class_teacher_id")
	private Long classTeacherId;

	@TableField(value = "area_team_id")
	private Long areaTeamId;

	/** 班级ID */
	@TableField(value = "class_id")
	private Long classId;

	/** 老师ID */
	@TableField(value = "teacher_id")
	private Long teacherId;

	/** 教师姓名 */
	@TableField(value = "teacher_name")
	private String teacherName;

	/** 角色 1:班主任 2:任教老师 */
	private Integer role;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/*0 失效，1生效*/
	@TableField(value = "status")
	private Integer status;

	public Long getClassTeacherId() {
		return this.classTeacherId;
	}

	public void setClassTeacherId(Long classTeacherId) {
		this.classTeacherId = classTeacherId;
	}

	public Long getAreaTeamId() {
		return areaTeamId;
	}

	public void setAreaTeamId(Long areaTeamId) {
		this.areaTeamId = areaTeamId;
	}

	public Long getClassId() {
		return this.classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	public Long getTeacherId() {
		return this.teacherId;
	}

	public void setTeacherId(Long teacherId) {
		this.teacherId = teacherId;
	}

	public String getTeacherName() {
		return this.teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public Integer getRole() {
		return this.role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
